package com.samsung.dao.user;

import java.util.List;

import com.samsung.model.user.User;

public interface UserMapper {
    int deleteByPrimaryKey(String uid);

    int deleteByUid(String uid);//物理删除

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String uid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

	int updatePasswordByUsername(User user);
	
	List<User> getAllUserInfo();//获取用户信息
	
	List<User> getAllUserId();//获取所有用户Id

	List<User> getPageUser(int startIndex);//对用户表的分页查询
}